﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO.card {
    /// <summary>
	/// 信用卡申请
	/// </summary>
	public class card_apply {
        public card_apply() {
        }

        public long id { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string order_no { get; set; }
        /// <summary>
        /// 商户id
        /// </summary>
        public long merchant_id { get; set; }
        /// <summary>
        /// 办卡商户id
        /// </summary>
        public long? bind_id { get; set; }
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 申请人手机号
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 申请人身份证
        /// </summary>
        public string id_card { get; set; }
        /// <summary>
        /// 查询办卡进度地址
        /// </summary>
        public string search_url { get; set; }
        /// <summary>
        /// 回调地址
        /// </summary>
        public string notify { get; set; }
        /// <summary>
        /// 订单状态:1申请中，2已成功（有分润），3已取消
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 分润分配［］
        /// </summary>
        public string profit { get; set; }
        /// <summary>
        /// 支付信息id
        /// </summary>
        public long? pay_id { get; set; }
        /// <summary>
        /// 订单时间
        /// </summary>
        public DateTime order_time { get; set; }
        /// <summary>
        /// 银行名称
        /// </summary>
        public string bank_name { get; set; }
        /// <summary>
        /// o单商户
        /// </summary>
        public virtual merchant_dto merchant { get; set; }
        /// <summary>
        /// 小商户
        /// </summary>
        public virtual merchant_dto binder { get; set; }
        /// <summary>
        /// 支付信息表
        /// </summary>
        public virtual pay_info_dto pay_info { get; set; }
    }
}
